package com.appkubes.mall.core.service;

import com.appkubes.base.core.mbp.AbstractBaseService;
import com.appkubes.mall.core.dao.BaseMallMessageDao;
import com.appkubes.mall.core.entity.MallMessage;

import com.appkubes.base.core.entity.vo.PageVO;
import com.baomidou.mybatisplus.core.metadata.IPage;

import java.util.List;

/**
 * @author Rongjie
 * @description
 */

public interface BaseMallMessageService extends AbstractBaseService<BaseMallMessageDao, MallMessage> {

    MallMessage getOneByEntity(MallMessage entity);

    List<MallMessage> selectListByEntity(MallMessage entity);

    IPage<MallMessage> selectPageByEntity(IPage<MallMessage> page);
    IPage<MallMessage> selectPageByEntity(PageVO pageVO);

    IPage<MallMessage> selectPageByEntity(MallMessage entity, IPage<MallMessage> page);
    IPage<MallMessage> selectPageByEntity(MallMessage entity, PageVO pageVO);

    IPage<MallMessage> selectPageByEntity(MallMessage entity, Integer pageNo, Integer pageSize);

    Boolean removeByEntity(MallMessage entity);
}
